package com.bw.bwpro.test.nutz;

import org.nutz.dao.entity.annotation.*;

/**
 * Desc:
 * User: ZhengCongChun
 * Date: 13-11-28
 * Time: 下午4:38
 *
 * @Version 1.0
 */
@Table("t_person")
public class Person {
    @Column
    @Id
    private int id;

    @Column
    private String name;

    @Column
    private int age;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
